package org.ft.fileConvert.service;

import org.ft.fileConvert.entity.FileConvert;
import com.baomidou.mybatisplus.extension.service.IService;
import org.ft.fileConvert.vo.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chentianzhong
 * @since 2022-08-10
 */
public interface FileConvertService extends IService<FileConvert> {

    FileConvert upload(MultipartFile file, Integer convertType) throws IOException;

    ResultVo convert(String id) throws Exception;

    void downloadNet(String url);

}
